<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="shortcut icon" href="../public/img/shoye/favicon.ico">
  <link rel="stylesheet" href="../css/details.css">
  <title>Best for You</title>
  <style>
   
  </style>
</head>
<body>
  <!-- 顶部 -->
<div class="top">
  <div class="center">
    <ul class="mate">
      <li>
        <a href="#"><span class="hua star"></span>收藏花礼网(hua.com)</a>
      </li>
      <li>
        <a href="#"><span class="hua weixin"></span>关注微信</a>
        <div class="xlwx">
          <img src="../public/img/shoye/wxguanjia_qrcode.png" alt="">
          <p>扫码关注</p>
          <p>回复"礼物"更多惊喜</p>
        </div>
        </li>
      <li>
        <a href="#"><span class="hua app"></span>花礼网app</a>
        <div class="xlap">
          <img src="../public/img/shoye/app_download_qrcode.png" alt="">
          <p>新人专享100元APP红包</p>
        </div>
      </li>
    </ul>
    <ul class="muen">
      <li class="muen-fist">
        <a href="./views/login.html">你好&nbsp, 请登录</a>
        <a href="./views/register.html">注册</a>
      </li>
      <li>
        <a href="#">订单查询</a>
      </li>
      <li class="muen-san">
        <a href="#">客户服务<span class="hua-xlcd"></span>
        </a>
        <div class="xlcd">
          <a href="">在线付款</a>
          <a href="">帮助中心</a>
          <a href="">售后服务</a>
          <a href="">配送范围</a>
          <a href="">留言反馈</a>
        </div>
      </li>
      <li>
        <a href="#">购物车<span class="text-primary" id="gwc">(0)</span></a>
      </li>
      <li>
        鲜花礼品网:国内领先鲜花网品牌
      </li>
    </ul>
  </div>
</div>
<!-- 顶部导航 -->
<div class="top-nav">
  <div class="center">
    <!-- login 搜索框 联系方式 -->
    <div class="nav-1">
      <!-- 第一部分 -->
      <div class="login"><a href="#" class="login-bj"></a></div>
      <!-- 第二部分 -->
      <div class="sosuo">
        <div class="d1">
          <span class="hua so"></span><input type="text" placeholder="商品搜索"><span class="s1"><button>搜索</button></span>
        </div>
        <div class="d2">
         <a href="#">红玫瑰</a>
         <a href="#">永生花</a>
         <a href="#">生日鲜花</a>
         <a href="#">礼品卡</a>
        </div>
      </div>
      <!-- 第三部分 -->
      <div class="lianxi">
        <div>
          <span class="hua phone"></span>400-889-8188 
        </span>
      </div>
      <div>
        <a href=""><span class="hua zai"></span>在线客服</a>
      </div>
      </div>
    </div>
    <!-- 所有分类  导航 -->
    <div class="nav-2 clearfix">
      <div class="nav-fist">
        <h3><span class="hua fenlei"></span><a href="#">所有分类</a></h3>
      </div>    
    <ul>
        <li><a href="./index.html" target="_blank">首页</a></li>
        <li><a href="./navhua.html" target="_blank">鲜花</a></li>
        <li><a href="./yshua.html" target="_blank">永生花</a></li>
        <li><a href="">蛋糕</a></li>
        <li><a href="">礼品</a></li>
        <li><a href="">巧克力</a></li>
        <li><a href="">花语大全</a></li>
        <li><a href="">企业团购</a></li>
        <li><a href="./flower.html" target="_blank">设计师臻选鲜花</a></li>
     </ul>
    </div>
  </div>
</div>
<!-- 内容索引 -->
<div class="crumb">
  <div class="center">
    <a href="">首页</a>
    >
    <a href="">鲜花</a>
    > Best for You
  </div>
</div>
<!-- 内容输出 -->
<div class="content">
  <div class="center">
    <!-- 图片 -->
    <div class="banner">
      <div>
        <img src="../public/img/hua/01.jpg" alt="">
      </div>
      <div>
       <div>
       <img data-bg="01.jpg" class="cur" src="../public/img/hua/01.jpg" alt=""/>
       <img data-bg="02.jpg" src="../public/img/hua/02.jpg" alt="">
       <img data-bg="03.jpg" src="../public/img/hua/03.jpg" alt="">
       <img data-bg="04.jpg" src="../public/img/hua/04.jpg" alt="">   
      </div>    
      </div>
    </div>
      <!-- 文字部分 -->
    <div class="text">
     <!-- 标题 -->
      <div>
        <p>Best for You</p>
        <div>
          <span>[畅销 你是我的唯一]</span>
          <span>戴安娜粉玫瑰11枝</span>
        </div>
      </div>
      <!-- 售价 -->
      <div>
        <div>
          <span>售价</span>
          <div>
            <span class="text_price">158</span>
            <span class="text_dz">8折</span>
            <span>市场价</span>
            <span>￥206</span>
          </div>
        </div>
        <div><span>已售2.79万件</span></div>
        <div>
          <div>
            <span>手机专享价</span>
            <span>￥155</span>
          </div>
          <div class="text_app">
            <span class="text_ico"></span>
            <span>去App购买</span>
            <div class="text_xlcd">
              <img src="../public/img/shoye/app_download_qrcode.png" alt="">
              <p>APP新人专享100元大礼包</p>
            </div>
          </div>
          <div class="text_app">
            <span class="text_ico"></span>
            <span>去微信购买</span>
            <div class="text_xlwx"><img src="../public/img/shoye/wxguanjia_qrcode.png" alt="">
            <p>微信公众号快捷购买</p>
            </div>
          </div>
        </div>
      </div>
      <!-- 介绍 -->
      <div>
        <div>
          <span>花语</span>
          <span> I still want the best for you！</span>
        </div>
        <div>
          <span>材料</span>
          <span> 戴安娜粉玫瑰11枝、浅紫勿忘我3枝、尤加利10枝</span>
        </div>
        <div>
          <span>包装</span>
          <span>包装 嫣粉/玫粉色欧雅纸5张、白色雪梨纸2张、浅粉色罗纹玫瑰金丝带2米</span>
        </div>
      </div>
      <!-- 配送 -->
      <div>
        <div>
          <span>配送说明</span>
          <span>全国</span>
        </div>
        <div>
          <span>配送至</span>
          <div>
            <a href="">
              <span>省/市/区</span>
              <span class="xcfh"></span>
            </a> 
          </div>
        </div>
         <div>
           <span class="peisong">请选择配送区域</span>
         </div>
      </div>
      <!-- 加入购物车 -->
      <div>
        <div>
          <a href="">
          <span class="hua hua-car"></span>
          加入购物车
          </a>
        </div>
        <div>
          <span>立即购买</span>
        </div>
        <div>
          <a href="">
            <span class="hua hua_xin"></span>
            收藏商品
          </a>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- 相关推荐 -->
<div class="recommended">
  <div class="center">
    <!-- 左边 -->
    <div class="text_zuo">
      <div>
        <h3>浏览记录</h3>
        <span>暂无浏览记录！</span>
      </div>
      <div>
        <h3>热销推荐</h3>
        <div>
          <img src="../public/img/hua/r01.jpg" alt="">
          <p>心相印</p>
          <span>￥168</span>
        </div>
        <div>
          <img src="../public/img/hua/r02.jpg" alt="">
          <p>你是唯一</p>
          <span>￥158</span>
        </div>
        <div>
          <img src="../public/img/hua/r03.jpg" alt="">
          <p>诞愿是你</p>
          <span>￥278</span>
        </div>
        <div>
          <img src="../public/img/hua/r04.jpg" alt="">
          <p>初心不负</p>
          <span>￥249</span>
        </div>
        <div>
          <img src="../public/img/hua/r05.jpg" alt="">
          <p>你笑起来真好看</p>
          <span>￥326</span>
        </div>
        <div>
          <img src="../public/img/hua/r06.jpg" alt="">
          <p>亲爱的你</p>
          <span>￥428</span>
        </div>
      </div>
      
    </div>
    <!-- 右边 -->
    <div class="text_you">
      <div>
        <span>商品详情</span>
        <span>用户评价(<span>2171</span>)</span>
        <span>常见问题</span>
        <span>购物保障</span>
      </div>
      <div>
        <span>产品参数</span>
        <div>
          <p>
            <span>编号</span>
            <span>9012467</span>
          </p>
          <p>
            <span>类别</span>
            <span> 鲜花</span>
          </p>
          <p>
            <span>附送</span>
            <span> 下单填写留言，即免费赠送精美贺卡！</span>
          </p>
        </div>
      </div>
      <div>
        <img src="../public/img/hua/01.jpg" alt="">
        <img src="../public/img/hua/s01.jpg" alt="">
        <img src="../public/img/hua/02.jpg" alt="">
        <img src="../public/img/hua/s02.jpg" alt="">
        <img src="../public/img/hua/03.jpg" alt="">
        <img src="../public/img/hua/s03.jpg" alt="">
        <img src="../public/img/hua/s04.jpg" alt="">
        <img src="../public/img/hua/04.jpg" alt="">
        <img src="../public/img/hua/s04.jpg" alt="">
        <img src="../public/img/hua/01.jpg" alt="">
        <img src="../public/img/hua/s04.jpg" alt="">
        <img src="../public/img/hua/s05.jpg" alt="">
        <img src="../public/img/hua/s04.jpg" alt="">
        <img src="../public/img/hua/s06.jpg" alt="">
      </div>
    </div>
  </div>
</div>
<!-- 页尾 -->
<div class="foot">
  <div class="center">
    <div>
      <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="">首页</a></li>
        <li class="breadcrumb-item"><a href="">关于我们</a></li>
        <li class="breadcrumb-item"><a href="">媒体报道</a></li>
        <li class="breadcrumb-item"><a href="">联系方式</a></li>
        <li class="breadcrumb-item"><a href="">企业团购</a></li>
        <li class="breadcrumb-item"><a href="">花店入驻</a></li>
        <li class="breadcrumb-item"><a href="">友情链接</a></li>
        <li class="breadcrumb-item"><a href="">在线补款</a></li>
        <li class="breadcrumb-item"><a href="">为什么选择花礼网</a></li>
      </ol>
    </div>
    <div>
      <p>
        <a href="">中国花卉协会会员</a>
        <a href="">中国电子商务协会会员</a>
        ICP经营许可证：
        <a href="">粤B2-20050744</a>
        <a href="">粤ICP备09171662号</a>
        <span class="hua hua-jc"></span>
        粤公网安备44030502000373号 Copyright © 2005-2020
      </p>
      <p>
        花礼网
         <a href="">www.hua.com</a>
         <span> 深圳市百易信息技术有限公司</span>
         中国领先的鲜花礼品网，品牌鲜花网服务，鲜花速递专家！
      </p>
    </div>
    <div>
      <span class="hua hua-slogan"></span>
      <a href=""><span class="hua hua-slo"></span></a>
      <a href=""><span class="hua hua-gan"></span></a>
      <a href=""><img src="./public/img/shoye/govIcon.gif" alt=""></a>
    </div>
  </div>
</div>

<script>
//查找所有小图
let $ = s=>document.querySelectorAll(s);
let imgs=$('.banner>div:last-child>div>img')
imgs.forEach(el=>{el.onmouseover=function(){
  $('.banner .cur')[0].className=''
  this.className='cur'
  let img_bg=this.dataset.bg
  $('.banner img:only-child')[0].src=`
  ../public/img/hua/${img_bg}
  `
}})
</script>
</body>
</html>